package com.wang.friend.domain.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wang.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@TableName("tb_message_text")
@Getter
@Setter
public class MessageText extends BaseEntity {

    @Schema(description = "消息内容id")
    @TableId(value = "TEXT_ID", type = IdType.ASSIGN_ID)
    private Long textId;

    @Schema(description = "消息标题")
    private String messageTitle;

    @Schema(description = "消息内容")
    private String messageContent;
}
